<?php get_header() ?>

<form action="<?php echo site_url('accounts/proccess_login') ?>" method="post">
	<div id="login_box" class="ui-widget">
		<div class="ui-widget-header ui-corner-top"><span>Inicio de sesion</span></div>
		<div class="ui-widget-content">
			<div>
				<label for="user">Usuario: </label>
				<input type="text" name="user" id="user" />
			</div>
			<div>
				<label for="">Contrase&ntilde;a: </label>
				<input type="password" name="pass" id="user" />
			</div>
			<input type="submit" name="submit" value="Entrar" />
		</div>
	</div>
</form>

<script type="text/javascript">
	$(function(){
		$('#user').focus();
	});
</script>

<?php get_footer() ?>